package com.test;

public class Ex02_3{
	public static void main(String args []){
		short s = 12;
		int n = s;
		byte b = (byte)s;
		System.out.println(n+"-"+b);
		
		char c = 'A';
		int n2 = c + 1;
		System.out.println((int)c);
		System.out.println(n2);
		int x = 123;
		float y = x + 12.3f;
		System.out.println(y);
		
		short s2 = 10;
		
		int i = s + s2;
		System.out.println(i);
		short j = (short)(s + s2);
		System.out.println(j);
	}
}